    <!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title th:text="#{login.title}">系统登录</title>
    <!--layui CSS-->
    <link rel="stylesheet"  href="../static/layui/css/layui.css"  th:href="@{/layui/css/layui.css}">
    <!--自定义CSS-->
    <link rel="stylesheet"  href="../static/css/style.css"  th:href="@{/css/style.css}">
</head>
<body class="login-bg">


<div class="layui-container">
    <div class="layui-row">
        <div class="layui-col-md9 layui-col-md-offset3">
            <h3 class="login-title" th:text="#{login.title}">后台登录</h3>
        </div>
        <div class="layui-col-md7 layui-col-md-offset3">

            <form class="layui-form login-form" action="" th:action="@{/emp/login}" method="post">

                <div class="layui-form-item">
                    <label class="layui-form-label" th:text="#{login.userName}"> 账号</label>
                    <div class="layui-input-inline">
                        <input type="text" name="account" required lay-verify="requiredI18n|account"  lay-verType="tips" placeholder="请输入账号"  th:account="#{verify.account}" th:requiredI18n="#{verify.requiredI18n}"  th:placeholder="#{login.account-placeholder}" autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux">辅助文字</div>
                </div>


                <div class="layui-form-item">
                    <label class="layui-form-label" th:text="#{login.password}">密码框</label>
                    <div class="layui-input-inline">
                        <input type="password" name="password" required lay-verify="requiredI18n|password" placeholder="请输入密码"  lay-verType="tips" th:requiredI18n="#{verify.requiredI18n}" th:password="#{verify.password}" th:placeholder="#{login.pass-placeholder}" autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux">辅助文字</div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="formDemo" th:text="#{login.login}">立即提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary" th:text="#{login.reset}">重置</button>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <p    th:if="${login_error!=null}"  th:text="#{${login_error}}">asd</p>
                        <p    th:if="${session.login_error!=null}"  th:text="#{${session.login_error}}">asd</p>
                    </div>
                </div>

            </form>
            <div class="layui-form-item" style="text-align: center">
                <a th:href="@{/login.html(lang=zh_CN)}">中文简体</a>
                <a th:href="@{/login.html(lang=en_US)}">English</a>
                <a th:href="@{/login.html(lang=zh_HK)}">中文繁體</a>
                <a th:href="@{/login.html(lang=th_TH)}">ไทย</a>
            </div>

        </div>
    </div>
</div>


<!--layui JS-->
<script src="../static/layui/layui.js" th:src="@{/layui/layui.js}"></script>
<!--自定义JS-->
<script src="../static/js/style.js" th:src="@{/js/style.js}"></script>

</body>
</html>